import { BasicProps } from 'antd/es/layout/layout';
import React from 'react';
import { Layout } from 'antd';
import { Outlet } from 'react-router-dom';

export interface ContentProp extends BasicProps {}

const { Content } = Layout;
export const WitContent = (props: ContentProp) => (
  <Content {...props}>
    <Outlet />
  </Content>
);
